package com.example.springboot.service;

import com.example.springboot.pojo.User;

public interface UserService {
    public User findById(Integer id);

    User findByUserName(String username);

    void register(String username, String password);

    void update(User user);

    void updateAvatar(String avatarUrl);

    void updatePwd(String newPwd);

}
